<template>
  <div>
    <defaultForm :formData="defaultFormData">
      <!-- 申报单位 -->
      <div slot="formRight_0" class="flexLeft flex1">
        <input
          :disabled="$store.state.iptDis"
          type="text"
          class="flex1"
          v-model="proGoldDeerPlay.orgName"
        />
        <div class="flexLeft flex1">
          <div class="awardName borL borR">编号</div>
          <input
            :disabled="$store.state.iptDis"
            type="text"
            class="flex1"
            v-model="proGoldDeerPlay.num"
          />
        </div>
      </div>
      <!-- 名称 -->
      <div slot="formRight_1" class="flexLeft flex1">
        <input v-model="proGoldDeerPlay.cpdwName" type="text" class="flex1" />
        <div class="flexLeft flex1">
          <div class="awardName borL borR">邮编</div>
          <input
            :disabled="$store.state.iptDis"
            type="text"
            class="flex1"
            v-model="proGoldDeerPlay.postal"
          />
        </div>
      </div>
      <!-- 地点 -->
      <div slot="formRight_2" class="flexLeft flex1">
        <input v-model="proGoldDeerPlay.address" type="text" class="flex1" />
        <div class="flexLeft flex1">
          <div class="awardName borL borR">传真</div>
          <input
            :disabled="$store.state.iptDis"
            type="text"
            class="flex1"
            v-model="proGoldDeerPlay.fax"
          />
        </div>
      </div>
      <!-- 联系人 -->
      <div slot="formRight_3" class="flexLeft flex1">
        <div class="flexLeft flex1">
          <input v-model="proGoldDeerPlay.callName" type="text" class="flex1" />
          <div class="flexLeft flex1">
            <div class="awardName borL borR">电话</div>
            <input
              :disabled="$store.state.iptDis"
              type="text"
              class="flex1"
              v-model="proGoldDeerPlay.tel"
            />
          </div>
        </div>
        <div class="flexLeft flex1">
          <div class="awardName borL borR">手机</div>
          <input
            :disabled="$store.state.iptDis"
            type="text"
            class="flex1"
            v-model="proGoldDeerPlay.phone"
          />
        </div>
      </div>

      <div slot="formHead_4" class="flex1">
        <slot name="formHead"></slot>
      </div>
      <div slot="formRight_4" class="flex1">
        <slot name="formMain"></slot>
      </div>
      <!-- 主要完成人员 -->
      <input
        slot="formRight_5"
        type="text"
        class="flex1"
        v-model="proGoldDeerPlay.zywcr"
      />
      <!-- 申报单位意见 -->
      <div slot="formRight_6" class="flexBet padTB20 unit flex1">
        <div>
          <div>负责人（签字）：</div>
          <div>（申报单位章）</div>
        </div>
        <div>
          <span class="marR20">年</span>
          <span class="marR20">月</span>
          <span class="marR20">日</span>
        </div>
      </div>
      <div slot="formRight_7" class="flexBet padTB20 unit flex1">
        <div>
          <div>负责人（签字）：</div>
          <div>（推荐单位章）</div>
        </div>
        <div>
          <span class="marR20">年</span>
          <span class="marR20">月</span>
          <span class="marR20">日</span>
        </div>
      </div>
    </defaultForm>
  </div>
</template>

<script>
import defaultForm from "@/components/form/formDefaultItem.vue";
import { defaultFormData } from "@/assets/js/deer.js";

export default {
  components: {
    defaultForm,
  },
  data() {
    return {
      defaultFormData,
      proGoldDeerPlay: {
       orgName: "",
        num: "",
        cpdwName: "",
        postal: "",
        address: "",
        callName: "",
        fax: "",
        zywcr: "",
        phone: "",
        tel: "",
      },
    };
  },
  mounted() {
  },
  methods: {
    // 获取字段信息
    acquire() {},
    empty() {
      this.proGoldDeerPlay = {
        orgName: "",
        num: "",
        cpdwName: "",
        postal: "",
        address: "",
        callName: "",
        fax: "",
        zywcr: "",
        phone: "",
        tel: "",
      };
    },
  },
};
</script>

<style lang="scss" scoped>
@import url("../../assets/sass/components/form.scss");
.unit {
  border-left: 1px solid #b8babd;
  margin-left: -1px;
  padding-left: 20px;
  box-sizing: border-box;
}
</style>